const { defineConfig } = require('@vue/cli-service')
const path = require('path')

module.exports = defineConfig({
  configureWebpack: {
    resolve: {
      alias: {
        // 让 @ 指向 src 目录
        '@': path.resolve(__dirname, 'src') 
      }
    }
  }
})